package test;

import static org.junit.Assert.*;

import org.junit.Test;

import com.web.dao.DAOFactory;
import com.web.model.Book;

public class TextProductDAO {

	@Test
	public void test() throws Exception {
		Book book = DAOFactory.getProductDAO().findById(2);
		System.out.println(book.getProductName() + "-------\n" + book.getDescription());
	}

}
